package com.java01.misc.eventdriven;

import java.util.EventObject;

/**
 * 1 Custom event
 * Uses EventObject to create a custom event. 
 */
public class CustomEvent extends EventObject {
	
	private static final long serialVersionUID = 1L;
	private String eventName;
	
	public CustomEvent(Object source, String eventName) {
		super(source);
		this.eventName=eventName;
	}

	public String getEventName() {
		return eventName;
	}
}
